/*paint.c --条件运算符*/
#include "stdio.h"
#include "paint.h"

int main(){

    long beishu;
    char c;
    int i = 0;
    printf("%d",MainJi);

    printf("请输入一个面积的倍数:");

    while((c = getchar()) != '|'){
        printf("%c\n",c);
        if(c == 'w'){
            printf("w yes");
            continue;
        }
        if(c == 'q'){
            printf("退出了");
            break;
        }
        printf("last'");
        i++;
    }
    printf("%d\n",i);

    return 0;
}